package com.shop.cereshop.agent.service.rank;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.cereshop.commons.domain.rank.AgentRank;
import com.shop.cereshop.agent.page.rank.RankVO;
import com.shop.cereshop.agent.param.rank.AgentRankDTO;

import javax.validation.Valid;

public interface AgentRankService extends IService<AgentRank> {

    RankVO getRank(@Valid AgentRankDTO param);

    /**
     * 存储每日排行榜数据
     * @param param
     * @return
     */
    void applyDayRank(AgentRank param);
}
